           package com.java.diagnostics.visualizer.parser.vgc;
           
           import com.java.diagnostics.visualizer.gc.defaultextensions.DefaultExtensionsPreferenceInitializer;
           import com.java.diagnostics.visualizer.impl.preferences.GCAndMemoryVisualizerPreferenceInitializer;
           import com.java.diagnostics.visualizer.impl.preferences.SmartPreferences;
           import org.osgi.service.prefs.Preferences;
           
           public class VGCParserPreferenceHelper
           {
             public static final String IGNORE_SYSTEM_GC_PREFERENCE_NAME = VGCParserPreferenceHelper.class + "IgnoreSystemGCs";
             public static final String INTERPOLATE_TIMES = VGCParserPreferenceHelper.class + "InteropolateTimes";
             private SmartPreferences preferences;
           
             public VGCParserPreferenceHelper()
             {
               this.preferences = DefaultExtensionsPreferenceInitializer.getInstance().getPreferences();
             }
           
             public boolean getFilterSystemGCs()
             {
	         // deleted by wenguang.huang 2014年4月24日 下午10:51:34
               //return this.preferences.getBoolean(IGNORE_SYSTEM_GC_PREFERENCE_NAME);
	         return false;
             }
           
             public boolean getInterpolateTimes()
             {
	         // deleted by wenguang.huang 2014年4月24日 下午10:56:13
               //return this.preferences.getBoolean(INTERPOLATE_TIMES);
	         return true;
             }
           
             public static void initializeDefaults(Preferences preferences)
             {
               preferences.putBoolean(IGNORE_SYSTEM_GC_PREFERENCE_NAME, false);
               preferences.putBoolean(INTERPOLATE_TIMES, true);
             }
           }

